<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  
  <title>Category: iOS | 素墨文胤</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <meta name="description" content="一日心静一日仙、不以神力乱人间">
<meta property="og:type" content="website">
<meta property="og:title" content="素墨文胤">
<meta property="og:url" content="http://godera.org/categories/iOS/page/2/index.html">
<meta property="og:site_name" content="素墨文胤">
<meta property="og:description" content="一日心静一日仙、不以神力乱人间">
<meta name="twitter:card" content="summary">
<meta name="twitter:title" content="素墨文胤">
<meta name="twitter:description" content="一日心静一日仙、不以神力乱人间">
  
  
    <link rel="icon" href="/favicon.png">
  

  <link rel="stylesheet" href="/css/style.css">
  
    <link rel="stylesheet" href="/fancybox/jquery.fancybox.css">
  
  
    <link rel="stylesheet" href="/scrollLoading/style.css">
  
  


  

  
    <link href='//fonts.useso.com/css?family=Titillium+Web:300,400,600' rel='stylesheet' type='text/css'>
    <link href="//fonts.useso.com/css?family=Source+Code+Pro" rel="stylesheet" type="text/css">
  
  <link rel="stylesheet" href="/font-awesome/css/font-awesome.min.css">
</head>

<body>
  <div id="wrap">
    <header id="header">
  <div id="header-outer" class="outer">
    <div class="container">
      <div class="container-inner">
        <div id="header-title">
          <h1 class="logo-wrap">
            <a href="/" class="logo"></a>
          </h1>
          
            <h2 class="subtitle-wrap">
              <p class="subtitle">一日心静一日仙，不以神力乱人间。</p>
            </h2>
          
        </div>
        <div id="header-inner" class="nav-container">
          <a id="main-nav-toggle" class="nav-icon fa fa-bars"></a>
          <div class="nav-container-inner">
            <ul id="main-nav">
              
                <li class="main-nav-list-item" ><a class="main-nav-list-link" href="/">Home</a></li>
              
                    <ul class="main-nav-list"><li class="main-nav-list-item"><a class="main-nav-list-link" href="/categories/JS/">JS</a></li><li class="main-nav-list-item"><a class="main-nav-list-link" href="/categories/Unix-Linux/">Unix_Linux</a></li><li class="main-nav-list-item"><a class="main-nav-list-link" href="/categories/iOS/">iOS</a></li><li class="main-nav-list-item"><a class="main-nav-list-link" href="/categories/哲学辨思/">哲学辨思</a></li><li class="main-nav-list-item"><a class="main-nav-list-link" href="/categories/数据库/">数据库</a></li><li class="main-nav-list-item"><a class="main-nav-list-link" href="/categories/文字文化/">文字文化</a></li><li class="main-nav-list-item"><a class="main-nav-list-link" href="/categories/生活感悟/">生活感悟</a></li><li class="main-nav-list-item"><a class="main-nav-list-link" href="/categories/随心随性/">随心随性</a></li><li class="main-nav-list-item"><a class="main-nav-list-link" href="/categories/默认标签/">默认标签</a></li></ul>
                  
                <li class="main-nav-list-item" ><a class="main-nav-list-link" href="/about/index.html">About</a></li>
              
            </ul>
            <nav id="sub-nav">
              <div id="search-form-wrap">
                
                  <form action="//google.com/search" method="get" accept-charset="UTF-8" class="search-form"><input type="search" name="q" results="0" class="search-form-input" placeholder="Search"><input type="hidden" name="sitesearch" value="http://godera.org"></form>
                
              </div>
            </nav>
          </div>
        </div>
      </div>
    </div>
  </div>
</header>
    <div class="container">
      <div class="main-body container-inner">
        <div class="main-body-inner">
          <section id="main">
            <div class="main-body-header">

              <h1 class="header"><i class="icon fa fa-folder-open"></i>category : <em class="page-title-link">iOS</em></h1>
            </div>
            <div class="main-body-content">
              
  
  
    
    
      
      
      <section class="archives-wrap">
        <div class="archive-year-wrap">
          <a href="/archives/2016" class="archive-year"><i class="icon fa fa-calendar-o"></i>2016</a>
        </div>
        <div class="archives">
    
    
    
      <div class="article-row">
    
        
  <article class="article article-summary">
    <div class="article-summary-inner">
      
<a href="/2016/01/11/iOS抓包工具介绍/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

      <div class="article-meta">
        <p class="category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
        <p class="date"><time datetime="2016-01-11T08:38:26.000Z" itemprop="datePublished">2016-01-11</time></p>
      </div>
      <h2 class="article-title">
        <a href="/2016/01/11/iOS抓包工具介绍/" class="title">iOS抓包工具介绍</a>
      </h2>
      <p class="article-excerpt">
        
        iOS抓包工具有 Charles、HTTPScoop、Wireshark、RVI+tcpdump+tcprewrite 等等：一、CharlesCharles官网 http://www.charlesproxy.com/需要一个路由连接Mac和iOS设备，iOS设备通过代理转到Mac上请求a、HTTP抓包1、打开Charles程序2、查看Mac电脑的IP地址，如192.168.1.73、打开iOS
      </p>
    </div>
  </article>

    
  
    
    
      
        </div></section>
      
      
      <section class="archives-wrap">
        <div class="archive-year-wrap">
          <a href="/archives/2015" class="archive-year"><i class="icon fa fa-calendar-o"></i>2015</a>
        </div>
        <div class="archives">
    
    
    
      <div class="article-row">
    
        
  <article class="article article-summary">
    <div class="article-summary-inner">
      
<a href="/2015/12/28/Xcode如何生成-Managed-by-Xcode-签名/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

      <div class="article-meta">
        <p class="category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
        <p class="date"><time datetime="2015-12-28T04:13:12.000Z" itemprop="datePublished">2015-12-28</time></p>
      </div>
      <h2 class="article-title">
        <a href="/2015/12/28/Xcode如何生成-Managed-by-Xcode-签名/" class="title">Xcode如何生成 (Managed by Xcode) 签名</a>
      </h2>
      <p class="article-excerpt">
        
        今天不小心删掉了苹果开发者后台的(Managed by Xcode) 签名，然后我在 Xcode 的 Preferences 里的 Accounts 里把 Apple ID 删除再添加一次，不久就发现 (Managed by Xcode) 签名自动生成了。

      </p>
    </div>
  </article>

    
  
    
    
    
    
        
  <article class="article article-summary">
    <div class="article-summary-inner">
      
<a href="/2015/12/01/iOS隐藏导航条底部横线/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

      <div class="article-meta">
        <p class="category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
        <p class="date"><time datetime="2015-12-01T12:56:49.000Z" itemprop="datePublished">2015-12-01</time></p>
      </div>
      <h2 class="article-title">
        <a href="/2015/12/01/iOS隐藏导航条底部横线/" class="title">iOS隐藏导航条底部横线</a>
      </h2>
      <p class="article-excerpt">
        
        转自：http://blog.it985.com/9808.html既要隐藏底部横线，又要保留模糊效果，只能找到那条线，然后隐藏掉。直接上代码：
      </p>
    </div>
  </article>

    
      </div>
    
  
    
    
    
    
      <div class="article-row">
    
        
  <article class="article article-summary">
    <div class="article-summary-inner">
      
<a href="/2015/11/25/UITextField-密码框密码显现后尾部空白BUG的解决/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

      <div class="article-meta">
        <p class="category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
        <p class="date"><time datetime="2015-11-25T15:23:22.000Z" itemprop="datePublished">2015-11-25</time></p>
      </div>
      <h2 class="article-title">
        <a href="/2015/11/25/UITextField-密码框密码显现后尾部空白BUG的解决/" class="title">UITextField 密码框密码显现后尾部空白BUG的解决</a>
      </h2>
      <p class="article-excerpt">
        
        　　UITextField密码框如果要加一个查看密码的按钮来显隐密码，通常的做法是用下述方法来显隐：1textField.secureTextEntry = !textField.isSecureTextEntry；
　　但是用此方法显示密码后却发现密码明文后面有空白，光标在密码位数多的时候游离的也很多，怎么消除呢？
      </p>
    </div>
  </article>

    
  
    
    
    
    
        
  <article class="article article-summary">
    <div class="article-summary-inner">
      
<a href="/2015/11/17/RESTful-Web-服务四种操作POST-DELETE-PUT-GET/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

      <div class="article-meta">
        <p class="category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
        <p class="date"><time datetime="2015-11-17T09:10:37.000Z" itemprop="datePublished">2015-11-17</time></p>
      </div>
      <h2 class="article-title">
        <a href="/2015/11/17/RESTful-Web-服务四种操作POST-DELETE-PUT-GET/" class="title">RESTful WEB 服务四种操作POST/DELETE/PUT/GET</a>
      </h2>
      <p class="article-excerpt">
        
        转自：http://www.django-china.cn/topic/132/?page=1有修改。
　　表征状态转移（英文：REpresentational State Transfer，简称REST）是Roy Fielding博士在2000年他的博士论文中提出来的一种软件架构风格。　　目前在三种主流的WEB服务实现方案中，因为REST模式的WEB服务与复杂的SOAP和XML-RPC对比来讲明显的更加简洁，越来越多的WEB服务开始采用REST风格设计和实现,例如:Amazon.com提供接近REST风格的WEB服务进行图书查找，雅虎提供的WEB服务也是REST风格的。
      </p>
    </div>
  </article>

    
      </div>
    
  
    
    
    
    
      <div class="article-row">
    
        
  <article class="article article-summary">
    <div class="article-summary-inner">
      
<a href="/2015/11/17/Scrum外道，看板开发才中的/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

      <div class="article-meta">
        <p class="category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
        <p class="date"><time datetime="2015-11-16T18:05:53.000Z" itemprop="datePublished">2015-11-17</time></p>
      </div>
      <h2 class="article-title">
        <a href="/2015/11/17/Scrum外道，看板开发才中的/" class="title">Scrum外行，看板开发才中的</a>
      </h2>
      <p class="article-excerpt">
        
        Scrum外行，看板开发才中的转自：infoQ.com
Scrum简介  把组织细分成小組、跨功能、自我组织团队。  工作细分成细小、实在的交付成果，交排人员负责需求清单以及跟据重要性排优先级别，由团队估算每个项目相对工量。  把整个开发时间分成固定时长的短迭代（通常于一至四星期），在每个迭代后演示新增可发布功能。  优化发布以及跟客户一起更新优先级别，基于每个迭代后发布的观察。  优化过程，在每个迭代之后进行回顾
看板开发简介  工作流程形象化  把工作细分成任务，写在卡纸上，贴在墙上  把栏命名好，來显示任务在工作流程中的狀況  限制“在制品”（work in progress，简称 WIP） – 明确设定限制在每个状态下同一时间能有多少工作任务  度量生产周期（即完成一个任务的平均时间），优化开发过程，缩短开发周期和使它更易于预测。
      </p>
    </div>
  </article>

    
  
    
    
    
    
        
  <article class="article article-summary">
    <div class="article-summary-inner">
      
<a href="/2015/11/16/navigationItem的正确用法/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

      <div class="article-meta">
        <p class="category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
        <p class="date"><time datetime="2015-11-16T07:52:47.000Z" itemprop="datePublished">2015-11-16</time></p>
      </div>
      <h2 class="article-title">
        <a href="/2015/11/16/navigationItem的正确用法/" class="title">navigationItem的正确用法</a>
      </h2>
      <p class="article-excerpt">
        
        今天设置一个 UITabBarController 管理下的 UIViewController 的 self.navigationItem.title 时怎么也设置不了（UITabBarController 在 UINavigationController 管理下），于是查官方 Documentation，发现如下文字：123@interface UIViewController (UINavig
      </p>
    </div>
  </article>

    
      </div>
    
  
    
    
    
    
      <div class="article-row">
    
        
  <article class="article article-summary">
    <div class="article-summary-inner">
      
<a href="/2015/11/10/CoreData的优化/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

      <div class="article-meta">
        <p class="category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
        <p class="date"><time datetime="2015-11-10T04:31:53.000Z" itemprop="datePublished">2015-11-10</time></p>
      </div>
      <h2 class="article-title">
        <a href="/2015/11/10/CoreData的优化/" class="title">CoreData的优化</a>
      </h2>
      <p class="article-excerpt">
        
        //我对 mmDao 进行了修改，最终代码放在了：https://github.com/godera/HDCoreDataWrapper
【转帖，有修改】在多线程环境中使用CoreDataBY 子非鱼 · 2014 年 10 月 13 日
上回书说道，其实 CoreData 学起来也没有很复杂，它的增、删、改、查和别的 ORM 大同小异。但是世界总是很复杂的，一根筋的去考虑问题很容易卡到蛋，默认情况下我们的代码都在 Main Thread 中执行，数据库操作一旦量多了，频繁了，势必会阻塞住主线程的其他操作，俗语说—卡住了。
这个世界天然是多线程的，所以我们操作数据也必须多线程。CoreData 对多线程的支持比较奇怪（按照一般的思路来说），CoreData 的 NSPersistentStoreCoordinator 和 NSManagedObjectContext 对象都是不能跨线程使用的，NSManagedObject 也不行。有人想：加把锁不就完了？No！作为一个处女座是不能忍受这么丑陋的解决方案的。其实 NSManagedObjectContext 已经对跨线程提供了内置的支持，只不过方式比较特殊，需要脑洞大开才行。
      </p>
    </div>
  </article>

    
  
  
    </div></section>
  
  
    <nav id="page-nav">
      <span class="pages">Page 2 of 4</span>
      <a class="extend prev" rel="prev" href="/categories/iOS/">&laquo;</a><a class="page-number" href="/categories/iOS/">1</a><span class="page-number current">2</span><a class="page-number" href="/categories/iOS/page/3/">3</a><a class="page-number" href="/categories/iOS/page/4/">4</a><a class="extend next" rel="next" href="/categories/iOS/page/3/">&raquo;</a>
    </nav>
  



            </div>
          </section>
          <aside id="sidebar">
  <a class="sidebar-toggle" title="Expand Sidebar"><i class="toggle icon"></i></a>
  <div class="sidebar-top">
    <p>follow:</p>
    <ul class="social-links">
      
        <li><a class="social-tooltip" title="github" href="https://github.com/godera" target="_blank"><i class="icon fa fa-github"></i></a></li>
      
    </ul>
  </div>
  
  <div class="widgets-container">
    
      
  <div class="widget-wrap">
    <h3 class="widget-title">recents</h3>
    <div class="widget">
      <ul id="recent-post" class="">
        
          <li>
            
            <div class="item-thumbnail">
              
<a href="/2016/11/30/Markdown-技巧汇总（持续帖）/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

            </div>
            
            <div class="item-inner">
              <p class="item-category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
              <p class="item-title"><a href="/2016/11/30/Markdown-技巧汇总（持续帖）/" class="title">Markdown 技巧汇总（持续帖）</a></p>
              <p class="item-date"><time datetime="2016-11-30T05:10:18.000Z" itemprop="datePublished">2016-11-30</time></p>
            </div>
          </li>
        
          <li>
            
            <div class="item-thumbnail">
              
<a href="/2016/11/27/CocoaPods-指南/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

            </div>
            
            <div class="item-inner">
              <p class="item-category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
              <p class="item-title"><a href="/2016/11/27/CocoaPods-指南/" class="title">CocoaPods 指南</a></p>
              <p class="item-date"><time datetime="2016-11-27T11:03:26.000Z" itemprop="datePublished">2016-11-27</time></p>
            </div>
          </li>
        
          <li>
            
            <div class="item-thumbnail">
              
<a href="/2016/04/16/OC-和-Swift-的混用方法/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

            </div>
            
            <div class="item-inner">
              <p class="item-category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
              <p class="item-title"><a href="/2016/04/16/OC-和-Swift-的混用方法/" class="title">OC 和 Swift 的混用方法</a></p>
              <p class="item-date"><time datetime="2016-04-16T11:11:42.000Z" itemprop="datePublished">2016-04-16</time></p>
            </div>
          </li>
        
          <li>
            
            <div class="item-thumbnail">
              
<a href="/2016/04/11/ReactiveCocoa-简单总结/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

            </div>
            
            <div class="item-inner">
              <p class="item-category"><a class="article-category-link" href="/categories/iOS/">iOS</a></p>
              <p class="item-title"><a href="/2016/04/11/ReactiveCocoa-简单总结/" class="title">ReactiveCocoa 简单总结</a></p>
              <p class="item-date"><time datetime="2016-04-11T03:00:29.000Z" itemprop="datePublished">2016-04-11</time></p>
            </div>
          </li>
        
          <li>
            
            <div class="item-thumbnail">
              
<a href="/2016/04/09/从汉语字面理解-观察者模式-和-订阅者模式-的区别/" class="thumbnail">
  
    <span class="thumbnail-image thumbnail-none"></span>
  
</a>

            </div>
            
            <div class="item-inner">
              <p class="item-category"><a class="article-category-link" href="/categories/Unix-Linux/">Unix_Linux</a></p>
              <p class="item-title"><a href="/2016/04/09/从汉语字面理解-观察者模式-和-订阅者模式-的区别/" class="title">从汉语字面理解 观察者模式 和 订阅者模式 的区别</a></p>
              <p class="item-date"><time datetime="2016-04-09T10:19:20.000Z" itemprop="datePublished">2016-04-09</time></p>
            </div>
          </li>
        
      </ul>
    </div>
  </div>

    
      
  <div class="widget-wrap widget-list">
    <h3 class="widget-title">archives</h3>
    <div class="widget">
      <ul class="archive-list"><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/11/">November 2016</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/04/">April 2016</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/03/">March 2016</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/02/">February 2016</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2016/01/">January 2016</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/12/">December 2015</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/11/">November 2015</a><span class="archive-list-count">6</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/10/">October 2015</a><span class="archive-list-count">2</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/09/">September 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/08/">August 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/06/">June 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/05/">May 2015</a><span class="archive-list-count">4</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/04/">April 2015</a><span class="archive-list-count">3</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/03/">March 2015</a><span class="archive-list-count">36</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/02/">February 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2015/01/">January 2015</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2014/10/">October 2014</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2012/06/">June 2012</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2011/10/">October 2011</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2010/06/">June 2010</a><span class="archive-list-count">1</span></li><li class="archive-list-item"><a class="archive-list-link" href="/archives/2008/08/">August 2008</a><span class="archive-list-count">1</span></li></ul>
    </div>
  </div>


    
      
  <div class="widget-wrap widget-float">
    <h3 class="widget-title">tag cloud</h3>
    <div class="widget tagcloud">
      <a href="/tags/JS/" style="font-size: 10px;">JS</a> <a href="/tags/Unix-Linux/" style="font-size: 14px;">Unix_Linux</a> <a href="/tags/iOS/" style="font-size: 20px;">iOS</a> <a href="/tags/哲学辨思/" style="font-size: 16px;">哲学辨思</a> <a href="/tags/数据库/" style="font-size: 10px;">数据库</a> <a href="/tags/文字文化/" style="font-size: 18px;">文字文化</a> <a href="/tags/生活感悟/" style="font-size: 14px;">生活感悟</a> <a href="/tags/随心随性/" style="font-size: 12px;">随心随性</a> <a href="/tags/默认标签/" style="font-size: 10px;">默认标签</a>
    </div>
  </div>


    
      
  <div class="widget-wrap widget-list">
    <h3 class="widget-title">links</h3>
    <div class="widget">
      <ul>
        
          <li>
            <a href="http://hexo.io">Hexo</a>
          </li>
        
      </ul>
    </div>
  </div>


    
  </div>
</aside>
        </div>
      </div>
    </div>
    <footer id="footer">
  
  <div class="container">
    <div class="container-inner">
      <a id="back-to-top" href="javascript:;"><i class="icon fa fa-angle-up"></i></a>
      <div class="credit">
        <h1 class="logo-wrap">
          <a href="/" class="logo"></a>
        </h1>
        <p>&copy; 2016 梁逊</p>
        <p>Powered by <a href="//hexo.io/" target="_blank">Hexo</a>. Theme by <a href="//github.com/ppoffice" target="_blank">PPOffice</a></p>
      </div>
    </div>
  </div>
</footer>
    


  <script src="http://code.jquery.com/jquery-2.1.3.min.js"></script>



  <script src="/fancybox/jquery.fancybox.pack.js"></script>



  <script src="/scrollLoading/jquery.scrollLoading.js"></script>
  <script src="/scrollLoading/main.js"></script>




<script src="/js/html-patch.js"></script>
<script src="/js/script.js"></script>

  </div>
</body>
</html>
